<?php

namespace Kiri\Server\Task;

interface OnTaskInterface
{


    /**
     * @param int $task_id
     * @param int $src_worker_id
     * @return mixed
     */
    public function process(int $task_id, int $src_worker_id): mixed;


}
